﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Login
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Login</h2>

    <h3><%: ViewData["ErrorLogin"]%></h3>

     <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <asp:Label ID="asdasd" runat="server" Text="Usuario/DNI" ></asp:Label>
            </div>
            <div class="editor-field">
                <%: Html.TextBox("DNI") %>
            </div>
            
             <div class="editor-label">
                <asp:Label ID="Label1" runat="server" Text="Password" ></asp:Label>
            </div>
            <div class="editor-field">
                <%: Html.TextBox("pwd") %>
            </div>

            <p>
                <input type="submit" value="LogIn" />
            </p>
        </fieldset>

    <% } %>

</asp:Content>
